<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Open Toast Maven Plugin for SpringSource dm Server - s2dm:eclipse</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            Open Toast Maven Plugin for SpringSource dm Server
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-01-12
                      </div>
            <div class="xright">            <a href="http://www.apache.org/" class="externalLink">Apache</a>
            |
                <a href="http://maven.apache.org/" class="externalLink">Maven 2</a>
            |
                <a href="http://www.springsource.org" class="externalLink">Spring</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="plugin-info.html">Goals</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="s2dm:eclipse"></a>
s2dm:eclipse</h2>
<p><strong>Full name</strong>:</p>
<p>org.opentoast:maven-s2dm-plugin:0.0.1:eclipse</p>
<p><strong>Description</strong>:</p>
<div>Generates the following eclipse configuration files for
SpringSource dm Server OSGi Bundle project: 

<ul><li><code>.project</code></li>
<li><code>.classpath</code> files</li>
<li><code>.setting/org.eclipse.jdt.core.prefs</code> with project
specific compiler settings</li>
<li><code>.setting/org.eclipse.wst.common.project.facet.core.xml</code>
for SpringSource dm Server bundle facet</li>
</ul>


If this goal is run on a multi project root, dependencies between
modules will be configured as direct project dependencies in
Eclipse (unless <code>useProjectReferences</code> is set to
<code>false</code>). Generates eclipse configuration files for
SpringSource dm Server OSGi Bundle project. 

<p>Also add M2Eclipse nature to eclipse project.</p>
<p>Copy and modified from
maven-eclipse-plugin-2.5.1</p>
</div><p><strong>Attributes</strong>:</p>
<ul><li>Requires a Maven 2.0 project to be executed.</li>
<li>Invokes the execution of the lifecycle phase <code>generate-resources</code> prior to executing itself.</li>
</ul>
<div class="section"><h3><a name="Required_Parameters"></a>
Required Parameters</h3>
<table class="bodyTable"><tr class="a"><th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b"><td><strong><a href="#buildOutputDirectory">buildOutputDirectory</a>
</strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>The default output directory<br />
<strong>Default value is</strong>: <code>${project.build.outputDirectory}</code>.</td>
</tr>
</table>
</div>
<div class="section"><h3><a name="Optional_Parameters"></a>
Optional Parameters</h3>
<table class="bodyTable"><tr class="a"><th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b"><td><strong><a href="#eclipseProjectDir">eclipseProjectDir</a>
</strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>Eclipse workspace directory.<br />
</td>
</tr>
<tr class="a"><td><strong><a href="#packaging">packaging</a>
</strong></td>
<td><code>String</code></td>
<td><code>-</code></td>
<td>The project packaging.<br />
</td>
</tr>
<tr class="b"><td><strong><a href="#workspace">workspace</a>
</strong></td>
<td><code>String</code></td>
<td><code>2.5</code></td>
<td>This eclipse workspace is read and all artifacts detected there
will be connected as eclipse projects and will not be linked to the
jars in the local repository. Requirement is that it was created
with the similar wtp settings as the reactor projects, but the
project name template my differ. The pom's in the workspace
projects may not contain variables in the artefactId, groupId and
version tags.<br />
</td>
</tr>
</table>
</div>
<div class="section"><h3><a name="Parameter_Details"></a>
Parameter Details</h3>
<p><strong><a name="buildOutputDirectory">buildOutputDirectory</a>
:</strong></p>
<div>The default output directory</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${outputDirectory}</code></li>
<li><strong>Default</strong>: <code>${project.build.outputDirectory}</code></li>
</ul>
<hr />
<p><strong><a name="eclipseProjectDir">eclipseProjectDir</a>
:</strong></p>
<div>Eclipse workspace directory.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${eclipse.projectDir}</code></li>
</ul>
<hr />
<p><strong><a name="packaging">packaging</a>
:</strong></p>
<div>The project packaging.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${project.packaging}</code></li>
</ul>
<hr />
<p><strong><a name="workspace">workspace</a>
:</strong></p>
<div>This eclipse workspace is read and all artifacts detected there
will be connected as eclipse projects and will not be linked to the
jars in the local repository. Requirement is that it was created
with the similar wtp settings as the reactor projects, but the
project name template my differ. The pom's in the workspace
projects may not contain variables in the artefactId, groupId and
version tags.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Since</strong>: <code>2.5</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>Expression</strong>: <code>${eclipse.workspace}</code></li>
</ul>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          Open Toast Project
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
